package com.ctshk.rpc.order.custom.req.tourist;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("定制团游客分组")
public class CustomRoomGroupReq implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "用户Id")
    private Long userId;

	@NotNull(message = "团期id不能为空")
    @ApiModelProperty(value = "团期id",required = true)
    private Long scheduleId;

    @NotNull(message = "分组类型不能为空")
    @ApiModelProperty(value = "1手动分组 2自动分组",required = true)
    private String type;

    @ApiModelProperty(value = "分组次数")
    private Integer que;

    @NotNull(message = "游客id列表不能为空")
    @ApiModelProperty(value = "游客id列表",required = true)
    private List<Long> ids;

    @ApiModelProperty(value = "批量分组ID")
    private Long groupNo;
}
